import request from '@/utils/request'

// 查询盘点任务明细信息列表
export function listMdInvChkTaskDet(query) {
  return request({
    url: '/storage/mdInvChkTaskDet/list',
    method: 'get',
    params: query
  })
}

// 查询盘点任务明细信息详细
export function getMdInvChkTaskDet(dtlId) {
  return request({
    url: '/storage/mdInvChkTaskDet/' + dtlId,
    method: 'get'
  })
}

// 新增盘点任务明细信息
export function addMdInvChkTaskDet(data) {
  return request({
    url: '/storage/mdInvChkTaskDet',
    method: 'post',
    data: data
  })
}

// 修改盘点任务明细信息
export function updateMdInvChkTaskDet(data) {
  return request({
    url: '/storage/mdInvChkTaskDet',
    method: 'put',
    data: data
  })
}

// 删除盘点任务明细信息
export function delMdInvChkTaskDet(dtlId) {
  return request({
    url: '/storage/mdInvChkTaskDet/' + dtlId,
    method: 'delete'
  })
}
